package com.woniu.his.bms.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发票记录
 * </p>
 *
 * @author chenbo
 * @since 2022-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bms_invoice_record")
public class InvoiceRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 发票编号
     */
    private Long invoiceNo;

    /**
     * 账单id
     */
    private Long billId;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 冻结状态:常规 NORMAL 冲红 RED 重打 REPRINT
     */
    private String freezeStatus;

    /**
     * 原发票关联id
     */
    private Long associateId;

    /**
     * 操作人id
     */
    private Long operatorId;

    /**
     * 结算类别id
     */
    private Long settlementCatId;

    /**
     * 日结记录id
     */
    private Long settleRecordId;

    /**
     * 关联发表类别
     */
    private Long invoiceId;


}
